from dash import html
import dash_bootstrap_components as dbc
# 移除导航栏导入
# from .components import navbar

# 主窗口布局
layout = html.Div([
    
    # navbar,
    html.Div([
        html.H1("系统主界面", className="text-center mb-4"),
        html.Hr(),
        dbc.Card([
            dbc.CardBody([
                html.H4("核心功能模块", className="card-title"),
                dbc.ListGroup([
                    dbc.ListGroupItem("设备台账管理", href="/dash/equipment", action=True),
                    dbc.ListGroupItem("维修记录管理", href="/dash/maintenance", action=True),
                    dbc.ListGroupItem("数据分析看板", href="/dash/bigscreen", action=True),
                    dbc.ListGroupItem("系统设置", href="/dash/settings", action=True)
                ])
            ])
        ])
    ], className="container")
])